package fnord.illuminati.order;

import java.io.Serializable;

import fnord.illuminati.card.GroupCard;
import fnord.network.server.Player;

public abstract class Order implements Serializable {
	private static final long serialVersionUID = -3154206023085981513L;
	
	protected final Player _player;
	protected final GroupCard _from;
	protected final GroupCard _to;
	
	public Player getPlayer() { return _player; }
	public GroupCard getFrom() { return _from; }
	public GroupCard getTo() { return _to; }
	
	public Order(Player player, GroupCard from, GroupCard to) {
		_player = player;
		_from = from;
		_to = to;
	}
}
